package com.nefu.store.user;

import cn.hutool.crypto.SmUtil;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;

import java.util.Scanner;

@Slf4j
@Data
public class findPwd {

    public static void main(String[] args) {


        while(true){
            Scanner in = new Scanner(System.in);
            String username = in.nextLine();
            String password = in.nextLine();
            String cpwd = SmUtil.sm3(password);
            System.out.println(username);
            System.out.println(cpwd);
        }
    }





}
